package kr.hkit.powerjava.chapter11.work;

public class PhoneTest {
	public static void main(String[] args) {
		Phone p1 = new Phone("삼성", 20000, "2g");
		Phone p2 = new SmartPhone("삼성", 50000, "3g", "안드로이드", "진저브레드",
				 16, true, true); //갤럭시s
		
		Phone p3 = new SmartPhone("삼성", 950000, "LTE", "안드로이드", "킷캣",
				 32, true, true); //갤럭시 노트4
		Phone p4 = new SmartPhone("애플", 1300000, "LTE", "I OS", "IOS8",
				 128, true, true); //아이폰 6+
		
		System.out.println("애니콜 : "+p1);
		System.out.println("갤럭시s : "+p2);
		System.out.println("갤럭시노트4 : "+p3);
		System.out.println("아이폰6+ : "+p4);
	}
}
